package com.nyist.entity;
/**
 * 角色和用户的关系表
 * @author 18077
 *
 */
public class Relation {
	private int id;/*表id 自增*/
	private String manageid; /*用户id*/
	private int roleid;  /*角色ID 唯一标示，自增*/
	public Relation() {
		
	}
	public Relation(int id, String manageid, int roleid) {
		super();
		this.id = id;
		this.manageid = manageid;
		this.roleid = roleid;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getManageid() {
		return manageid;
	}
	public void setManageid(String manageid) {
		this.manageid = manageid;
	}
	public int getRoleid() {
		return roleid;
	}
	public void setRoleid(int roleid) {
		this.roleid = roleid;
	}
	@Override
	public String toString() {
		return "Relation [id=" + id + ", manageid=" + manageid + ", roleid=" + roleid + "]";
	}
	
	
}
